<template>
  <div class="tips">
    {{message}}
  </div>
</template>
<script>
export default {
  name: 'tips',
  props: ['message'],
  setup(props) {
    const message = props.message
    return {
      message
    }
  }
}
</script>
<style lang="scss" scoped>
.tips {
  position: fixed;
  bottom: 80px;
  width: 330px;
  height: 40px;
  background: rgba($color: #000000, $alpha: 0.65);
  color: white;
  line-height: 40px;
  font-size: 14px;
  border-radius: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding-left: 15px;
}
</style>
